package com.wei800.dto;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李兴华
 * @since 2025-03-05
 */
public class UserinfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    // 如果需要自定一些属性，可以在这里面随意添加，但是与Entity对应的属性不允许少，否则会出现数据丢失的问题
    private Long id;

    /**
     * 所属部门
     */
    private Integer memid;

    private Integer tokenid;

    private Integer departmentid;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String userpwd;

    private String regemail;

    /**
     * 所属机构
     */
    private Integer orgid;

    /**
     * 登陆次数
     */
    private Integer loginnum;

    /**
     * 中文名字
     */
    private String userrealnamecn;

    /**
     * 英文名字
     */
    private String userrealnameen;

    /**
     * 性别 0女 1男
     */
    private Integer gender;

    /**
     * 教育程度
     */
    private Integer education;

    /**
     * 生日
     */
    private LocalDateTime birthday;

    /**
     * 电话
     */
    private String tel;

    /**
     * 手机
     */
    private String phone;

    /**
     * 证书
     */
    private String certificate;

    /**
     * 证件号码(身份证)
     */
    private String certificateno;

    /**
     * 传真
     */
    private String fax;

    /**
     * 选择城市
     */
    private String areacodeid;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 邮编
     */
    private String postcode;

    private String qq;

    private String msn;

    /**
     * 状态0不能登陆1登陆
     */
    private Integer status;

    /**
     * 删除状态0未删除1删除
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    /**
     * 上次登陆时间
     */
    private LocalDateTime lastlogintime;

    private String lastloginip;

    private LocalDateTime expiredate;

    /**
     * 头像
     */
    private String avatars;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getMemid() {
        return memid;
    }

    public void setMemid(Integer memid) {
        this.memid = memid;
    }

    public Integer getTokenid() {
        return tokenid;
    }

    public void setTokenid(Integer tokenid) {
        this.tokenid = tokenid;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getRegemail() {
        return regemail;
    }

    public void setRegemail(String regemail) {
        this.regemail = regemail;
    }

    public Integer getOrgid() {
        return orgid;
    }

    public void setOrgid(Integer orgid) {
        this.orgid = orgid;
    }

    public Integer getLoginnum() {
        return loginnum;
    }

    public void setLoginnum(Integer loginnum) {
        this.loginnum = loginnum;
    }

    public String getUserrealnamecn() {
        return userrealnamecn;
    }

    public void setUserrealnamecn(String userrealnamecn) {
        this.userrealnamecn = userrealnamecn;
    }

    public String getUserrealnameen() {
        return userrealnameen;
    }

    public void setUserrealnameen(String userrealnameen) {
        this.userrealnameen = userrealnameen;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public String getCertificateno() {
        return certificateno;
    }

    public void setCertificateno(String certificateno) {
        this.certificateno = certificateno;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getAreacodeid() {
        return areacodeid;
    }

    public void setAreacodeid(String areacodeid) {
        this.areacodeid = areacodeid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getMsn() {
        return msn;
    }

    public void setMsn(String msn) {
        this.msn = msn;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public LocalDateTime getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(LocalDateTime lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    public String getLastloginip() {
        return lastloginip;
    }

    public void setLastloginip(String lastloginip) {
        this.lastloginip = lastloginip;
    }

    public LocalDateTime getExpiredate() {
        return expiredate;
    }

    public void setExpiredate(LocalDateTime expiredate) {
        this.expiredate = expiredate;
    }

    public String getAvatars() {
        return avatars;
    }

    public void setAvatars(String avatars) {
        this.avatars = avatars;
    }

    @Override
    public String toString() {
        return "TkfUserinfo{" +
        "id = " + id +
        ", memid = " + memid +
        ", tokenid = " + tokenid +
        ", departmentid = " + departmentid +
        ", username = " + username +
        ", userpwd = " + userpwd +
        ", regemail = " + regemail +
        ", orgid = " + orgid +
        ", loginnum = " + loginnum +
        ", userrealnamecn = " + userrealnamecn +
        ", userrealnameen = " + userrealnameen +
        ", gender = " + gender +
        ", education = " + education +
        ", birthday = " + birthday +
        ", tel = " + tel +
        ", phone = " + phone +
        ", certificate = " + certificate +
        ", certificateno = " + certificateno +
        ", fax = " + fax +
        ", areacodeid = " + areacodeid +
        ", address = " + address +
        ", postcode = " + postcode +
        ", qq = " + qq +
        ", msn = " + msn +
        ", status = " + status +
        ", deleted = " + deleted +
        ", createtime = " + createtime +
        ", lastlogintime = " + lastlogintime +
        ", lastloginip = " + lastloginip +
        ", expiredate = " + expiredate +
        ", avatars = " + avatars +
        "}";
    }
}
